package com.linc.facerecognitionsi.metadata;

import android.os.Environment;

/**
 * Created by linc on 15-6-25.
 */
public class Constants {
    public static final String FACE_FEATURE_CODE = "FDFaceFeatureCode";
    public static final String CARD_FEATURE_CODE = "FDCardFeatureCode";
    public static final String FEATURE_CODE = "FDFeatureCode";

    //activity flag
    public static final String FLAG = "FLAG";
    public static final String NAME = "NAME";
    public static final String RESULT = "result";
    public static final String TRY_AGAIN = "again";
    public static final String RESULT_OK = "okay";
    public static final String MESSAGE = "message";
    public static final String ID_CARD_NUMBER = "IDCardNumber";

    public static final int ID_CARD_SCANNING = 1000;
    public static final int ID_CARD_FACE_COMPARE = 1001;
    public static final int FACE_SCANNING = 1002;//face build modeling
    public static final int FACE_TO_FACE_COMPARE = 1003;
    public static final int FACE_RECOGNIZE = 1004;
    public static final int SCANNING_NUMBER = 1005;
    public static final int PICTURE_NUMBER = 1006;
    public static final int PICTURE_MANUAL_NUMBER = 1007;
    public static final int PICTURE_NUMBER_V2 = 1008;

    public static final int MESSAGE_SUCCESS = 2000;
    public static final int MESSAGE_FAILED = 2001;

    public static final int DISPLAY_LAND = 0;
    public static final int DISPLAY_PORT = 90;

    public static final int COMPARE_CARD_FACE_TIMES = 6;
    public static final int COMPARE_FACE_FACE_TIMES = 6;
    public static final double CARD_FACE_THRESHOLD = 0.589;//
    public static final double FACE_FACE_THRESHOLD = 0.75;
    public static final double FACE_FACE_ONE_ONE_THRESHOLD = 0.7;
    public static final int OCR_TIMES = 10;
    public static final int REQUEST_CODE = 3001;

    public static final String APP_MAIN_PATH = Environment.getExternalStorageDirectory().toString()
            +"/FaceRecognition";
    public static final String DATABASE_PATH="/data/data/com.linc.facerecognitionsi/databases";

    //Tess-two
    public static final String LANG_CHINESE = "chi_sim";

    //countdown timer
    public static final long COUNTDOWN_TIME = 4005;
    public static final long COUNTDOWN_INTERVAL = 1000;


    //database
    public static final String DB_NAME = "face";
}
